#!/bin/sh
set -x

if [ "${ADMIN_BACKEND:-false}" = "true" ]; then
    # 执行backend hooks
    echo "执行admin-backend git hooks"
    cd admin-backend
    . .git/hooks/pre-push
else
    # 忽略
    :
fi
